package com.thb.pay.api.payment.fallback;

import com.thb.pay.api.payment.PayCashCollConfigServiceApi;
import feign.hystrix.FallbackFactory;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

@Slf4j
@Component
public class PayCashCollConfigServiceApiFallbackFactory implements FallbackFactory<PayCashCollConfigServiceApi> {


    @Override
    public PayCashCollConfigServiceApi create(Throwable throwable) {
        return new PayCashCollConfigServiceApi() {
        };
    }
}